package com.wuhainan.beelzebub.repository.system;

import com.wuhainan.beelzebub.common.BaseRepository;
import com.wuhainan.beelzebub.entity.system.ChargeItemType;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <br>Created by 吴海南 on 2017/12/29.
 * <br>星期五 at 16:35.
 */
@Repository
public interface ChargeItemTypeRepository extends BaseRepository<ChargeItemType,String> {
    List<ChargeItemType> findByType(Integer type, Sort sort);

    ChargeItemType findByTypeName(String typeName);
}
